<%@ page import="fzzl.guide.GuideBefaint" %>



<div class="fieldcontain ${hasErrors(bean: guideBefaintInstance, field: 'befaintName', 'error')} ">
	<label for="befaintName">
		<g:message code="guideBefaint.befaintName.label" default="Befaint Name" />
		
	</label>
	<g:textField name="befaintName" value="${guideBefaintInstance?.befaintName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: guideBefaintInstance, field: 'befaintNameCode', 'error')} ">
	<label for="befaintNameCode">
		<g:message code="guideBefaint.befaintNameCode.label" default="Befaint Name Code" />
		
	</label>
	<g:textField name="befaintNameCode" value="${guideBefaintInstance?.befaintNameCode}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: guideBefaintInstance, field: 'code', 'error')} ">
	<label for="code">
		<g:message code="guideBefaint.code.label" default="Code" />
		
	</label>
	<g:textField name="code" value="${guideBefaintInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: guideBefaintInstance, field: 'department', 'error')} required">
	<label for="department">
		<g:message code="guideBefaint.department.label" default="Department" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="department" name="department.id" from="${fzzl.guide.Department.list()}" optionKey="id" required="" value="${guideBefaintInstance?.department?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: guideBefaintInstance, field: 'rowNumber', 'error')} required">
	<label for="rowNumber">
		<g:message code="guideBefaint.rowNumber.label" default="Row Number" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="rowNumber" type="number" value="${guideBefaintInstance.rowNumber}" required=""/>
</div>

